package v2ch10.progressBar;

import javax.swing.*;
import java.awt.*;

/**
 * This program demonstrates the use of a progress bar to monitor the progress of a thread.
 *
 * @author Cay Horstmann
 * @version 1.05 2012-05-10
 */
public class ProgressBarTest {
	public static void main(String[] args) {
		EventQueue.invokeLater(() ->
		{
			JFrame frame = new ProgressBarFrame();
			frame.setTitle("ProgressBarTest");
			frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
			frame.setVisible(true);
		});
	}
}
